#!/bin/bash

# 执行mmcli -m 0并检查退出码
if mmcli -m 0; then
else
    systemctl restart ModemManager
fi
